package com.web.exiaodao.remote.vo;

import com.web.exiaodao.business.constant.JConstant;
import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;


/**
 * @author duandazhi
 * @ClassName: SearchVo
 * @Description: 主模块搜索Vo
 * @date 2016/12/9 下午4:50
 */
@ApiModel(value = "主模块搜索vo")
public class SearchVo {
    @ApiModelProperty(value = "模块id，模块id")
    private Long objectId;
    /**
     * {@link JConstant.Search_Share_FavType}
     */
    @ApiModelProperty(value = "模块类型,模块类型(2机构;22住;3商城;4玩;42:作者;游学5;服务公共1;12:家政护理; 13:医疗服务|医疗康复; 14:护理培训|培训义工 15:义工中心)")
    private Long type;
    @ApiModelProperty(value = "模块类型名称,模块类型名称")
    private String typeName;
    @ApiModelProperty(value = "名称,名称")
    private String name;

    public SearchVo() {
    }

    public SearchVo(Long objectId, Long type, String name) {
        this.objectId = objectId;
        this.type = type;
        this.name = name;
    }

    public Long getObjectId() {
        return objectId;
    }

    public void setObjectId(Long objectId) {
        this.objectId = objectId;
    }

    public Long getType() {
        return type;
    }

    public void setType(Long type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public static class ApiSearch {
        private String searchKey;

        public String getSearchKey() {
            return searchKey;
        }

        public void setSearchKey(String searchKey) {
            this.searchKey = searchKey;
        }
    }
}
